ADP\BaseVersion\Includes\Shortcodes\SqlGeneratorPersistent A

Total Complexity 69
Dependencies 5
Dependents 0
Total lines 456
Lines of code 305
Logical lines of code 183
Comment lines 23
Methods 27
Properties 8

Methods 27

Method Rating Maintainability Complexity Lines of code
compareToSql()
A
46 11 38
getSql()
S
51 7 27
applyRuleToQuery()
S
53 6 23
genSqlProduct_attributes()
S
50 4 26
genSqlProduct_custom_fields()
S
53 4 22
getProductIds()
S
58 4 15
genSqlProduct_categories()
S
62 4 11
genSqlByTermIds()
S
54 2 19
genSqlProduct_custom_attributes()
S
56 2 16
genSqlProduct_category_slug()
S
57 2 16
generateFilterSqlByType()
S
66 3 7
getSqlByPostmeta()
S
62 2 12
getExcludeWhere()
S
71 2 6
genSqlProducts()
S
64 2 9
addJoin()
S
70 2 6
genSqlAny()
S
82 1 3
genSqlCustomTaxonomy()
S
79 1 3
isEmpty()
S
79 1 3
__construct()
S
70 1 6
genSqlProduct_tags()
S
79 1 3
genSqlProduct_sellers()
S
75 1 4
offset()
S
81 1 3
limit()
S
81 1 3
getWhere()
S
82 1 3
getJoin()
S
82 1 3
clear()
S
68 1 8
genSqlProduct_sku()
S
63 1 10